@							SRLOS source code
@						SRLOS Team All Rights Reserved!
@@filename	kernel_head.s
@@author	boceanc.
@@date		2010/04/17
@@comment	this file is part of kernel head.This is the first code segment
@			ARM 32 bits instruction.
@@note		I want to do anything as less as I can.Do things use C language as possible as we can!
@           there just one instruction,and some spaces

.section .text
.global				k_mem_mmu_flpt_os_tmp
.global				k_mem_mmu_slpt_os_tmp
.global				k_mem_mmu_slpt_io_mapping_tmp
.global				_start
.extern         	k_os_start@
.arm
_start:
			LDR	R13, =k_mem_mmu_flpt_os_tmp	@indicate a stack while using C language program!
			B		k_os_start@
.section .data
.balign	0x4000
k_mem_mmu_flpt_os_tmp:	@used for OS first level page tables
.space  0x4000
.balign 0x400
k_mem_mmu_slpt_os_tmp:	@used for OS second level page tables
.space 0x80000
.balign 0x400
k_mem_mmu_slpt_io_mapping_tmp:	@used for OS I/O mapping space of second level page
.space 0x80000
